NQ Authentication module conveys authentication according to the required level of security.
This function assigns parameters for one authentication level:
- NQ combines two encryption algorithms in one authentication blob. User can choose between LM, NTLM and NTLMv2 encryptions.
- User can choose security mechanisms for extended security negotiations. Currently, the available mechanisms are: NTLMSSP and Kerberos.
- Parameters
-
| level | Authentication level to define. This value should be greater or equal to zero and it should not exceed the maximum security level as defined in AM_MAXSECURITYLEVEL. An illegal value will have no effect. |
| crypter1 | The first encryption algorithm. Available values are:
|
| crypter2 | The second encryption algorithm. Available values are:
|
| mehanisms | Available security mechanisms. This value is a bit mask of the following:
|
- Note
- Level parameters are assigned globally so that two concurrent applications using the same level are sharing the same parameters. If one of them assigns new parameters this also affects the second one.
- This function is not thread-safe.
- The default per-level parameters are:
| Level | Crypter 1 | Crypter 2 | NTLMSSP | KERBEROS |
| 0 | LM | none | - | - |
| 1 | LM | NTLM | - | - |
| 2 | LM | NTLM | Yes | Yes |
| 3 | LMv2 | NTLMv2 | Yes | - |
| 4 | LMv2 | NTLMv2 | Yes | Yes |